package com.ruoyi.life.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.omp.api.domain.FeLeaseRecord;
import com.ruoyi.system.api.domain.SysFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 企业概况对象 omp_qy_enterprise
 *
 * @author cjie
 * @date 2021-08-02
 */
@Data
@ApiModel
public class EnterpriseVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    /** 企业法人 */
    @Excel(name = "企业法人")
    @ApiModelProperty(value = "企业法人")
    private String legalPerson;

    /** 法人联系电话 */
    @Excel(name = "法人联系电话")
    @ApiModelProperty(value = "法人联系电话")
    private String legalPhone;

    /** 企业联系人 */
    @Excel(name = "企业联系人")
    @ApiModelProperty(value = "企业联系人")
    private String enterpriseContact;

    /** 企业联系人电话 */
    @Excel(name = "企业联系人电话")
    @ApiModelProperty(value = "企业联系人电话")
    private String contactPhone;

    /** 企业类型Id */
    @Excel(name = "企业类型Id")
    @ApiModelProperty(value = "企业类型Id")
    private String typeId;

    /** 工商注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工商注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "工商注册时间")
    private Date registrationDate;

    /** 税务登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "税务登记时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "税务登记时间")
    private Date taxRegistrationDate;

    /** 企业规模 */
    @Excel(name = "企业规模")
    @ApiModelProperty(value = "企业规模")
    private String enterpriseScale;

    /** 环评批复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "环评批复时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "环评批复时间")
    private Date approvalDate;

    /** 环评验收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "环评验收时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "环评验收时间")
    private Date acceptanceDate;

    /** 入驻时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入驻时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "入驻时间")
    private Date entryDate;

    /** 生产状况 */
    @Excel(name = "生产状况")
    @ApiModelProperty(value = "生产状况")
    private String productionStatus;

    /** 主要商品 */
    @Excel(name = "主要商品")
    @ApiModelProperty(value = "主要商品")
    private String mainProduct;

    /** 园区地址 */
    @Excel(name = "园区地址")
    @ApiModelProperty(value = "园区地址")
    private String address;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性

    /** 企业类型 */
    @Excel(name = "企业类型")
    @ApiModelProperty(value = "企业类型")
    private String enterpriseType;

    /** 附件份数 */
    @Excel(name = "附件份数")
    @ApiModelProperty(value = "附件份数")
    private Integer fileAmount;

    /**租赁记录*/
    @ApiModelProperty(value = "租赁记录")
    private FeLeaseRecord leaseRecord;

    /**租赁记录集合*/
    List<FeLeaseRecord> recordList;


    /** 附件id集合 */
    @Excel(name = "附件id集合")
    @ApiModelProperty(value = "附件id集合")
    private List<Long> fileIdList;

    /** 附件集合 */
    @Excel(name = "附件集合")
    @ApiModelProperty(value = "附件集合")
    private List<SysFile> fileList;

    /** 垃圾费 */
    @Excel(name = "垃圾费")
    @ApiModelProperty(value = "垃圾费")
    private BigDecimal garbageFee;

    /** 污水处理费 */
    @Excel(name = "污水处理费")
    @ApiModelProperty(value = "污水处理费")
    private BigDecimal sewageFee;

    /** 电梯运行费 */
    @Excel(name = "电梯运行费")
    @ApiModelProperty(value = "电梯运行费")
    private BigDecimal elevatorRunFee;

    /** 电梯维修费 */
    @Excel(name = "电梯维修费")
    @ApiModelProperty(value = "电梯维修费")
    private BigDecimal elevatorRepairFee;

}
